package com.crt.uav.domain;

import java.io.Serializable;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(title = "UavTaskVO", description = "无人机最新里程、运行时间查询。 如果创建立即执行任务： wp_id和uav_sn不能为空，其他为null； 如果创建延迟任务单次任务： wp_id、uav_sn、exe_time和exe_fre为空；如果创建延迟循环计划： wp_id、uav_sn、exe_time和exe_fre不能为空")
@Data
public class UavTaskPageVO implements Serializable{
    private static final long serialVersionUID = 1L;
    
    @Schema(title = "pageNum", description = "当前页码", example = "1")
    private Integer pageNum;
    @Schema(title = "pageSize", description = "每页条数", example = "10")
    private Integer pageSize;
    @Schema(title = "total", description = "总条数", example = "100")
    private Integer total;
    @Schema(title = "pages", description = "总页数", example = "10")
    private Integer pages;
    @Schema(title = "prePage", description = "上一页", example = "1")
    private Integer prePage;
    @Schema(title = "nextPage", description = "下一页", example = "3")
    private Integer nextPage;

    @Schema(title = "list", description = "任务列表", implementation = UavTaskVO.class)
    private List<UavTaskVO> list;


}
